package com.lemt.mall.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.lemt.mall.entity.Category;
import com.lemt.mall.entity.Inventory;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsVo {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String goodsName;

    private String goodsDescription;

    // 封面
    private String goodsUrl;

    private BigDecimal goodsPrice;

    private Integer saleCount;

    private Integer viewCount;

    private List<Inventory> inventories;
    private List<Category> categories;

}
